package com.group.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 朋心合力
 * @since 2021-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

        /**
     * 课程Id
     */
         @TableId(value = "courseId", type = IdType.ID_WORKER)
    private Integer courseId;

        /**
     * 课程信息
     */
         @TableField("courseName")
    private String courseName;

        /**
     * 课程标签
     */
         @TableField("courseTag")
    private String courseTag;

        /**
     * 课程等级
     */
         private Integer courseVip;

        /**
     * 课程创建时间
     */
         @TableField(fill = FieldFill.INSERT)
    private Date createTime;

        /**
     * 授课老师姓名
     */
         private String teacher;


}
